html { height: 100%; }
body {
	height: 100%; 
	background-color: #fff;
	margin-top: -30px;
	padding-top: 30px;
}
/*顶部 添加 保存 取消等操作区*/
#toolbar_container { overflow: visible; }
.tb_item { position: relative; }
.tb_item.active .item_lists { display: block; }
.item_lists { position: absolute; top: 32px; background: #fff; display: none; width: 100px; min-width: 100px;  z-index: 2}
.item_lists .item { padding: 0 10px; }
.item_lists .sub_list { position: absolute; display: none; left: 110%; top: -2px }
.item_lists .item.active .sub_list { display: block; }
.item_lists .item span { display: inline-block; border: 5px solid transparent; border-left-color: #333; }
.item_lists .item:hover,
.sub_list .list:hover { background: #f5f5f5; cursor: pointer; }
.sub_list { width: 170px; background: #fff; }
.sub_list .list { padding: 0 10px;}
.checkbox-equipment label { margin-right: 25px; margin-bottom: 8px; }
/*bootstrap*/
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { padding-left: 8px; padding-right: 8px;}

th, td { box-sizing: border-box; }
/*通用样式*/
.bordered {
	border: 1px solid #ddd;
	padding: 15px;
	position: relative;
}
.mar-r-15 {
	margin-right: 15px;
}

.bodered-top {
	border-top: 1px solid #ddd;
}

.bordered-left {
	border-left: 1px solid #ddd;
}

.bordered-right {
	border-right: 1px solid #ddd;
}

.bordered-bottom {
	border-bottom: 1px solid #ddd;
}
.clear-border {
	border: none;
}
.color-blue {
	color: blue !important;
	cursor: pointer;
}
.clear-padding {
	padding: 0;
}
.clear::after {
	content: '';
	clear: both;
}

.clear-padding-left {
	padding-left: 0;
}
.clear-padding-top {
	padding-top: 0;
}
.clear-padding-right {
	padding-right: 0;
}
.clear-padding-bottom {
	padding-bottom: 0;
}
.clear-margin-left {
	margin-left: 0 !important;
}
.clear-margin-top {
	margin-top: 0;
}
.clear-margin-right {
	margin-right: 0;
}
.clear-margin-bottom {
	margin-bottom: 0;
}

.opt-del-icon {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background: #eee;
	z-index: 11;
	color: #333;
	border-radius: 50%;
	cursor: pointer;
}
.opt-del-icon:hover {
	background: rgba(0, 0, 0, .7);
	color: #fff;
}
table {
	table-layout:fixed;
	word-break:break-all;
}


/*表单内容区*/

table thead th {
    /*background: #fff;*/
    font-weight: bold;
}
main {
	display: block;
	margin-top: 40px;
}

.tab-content {
	margin-top: 20px;
}

.control-label span {
	color: red;
}

/* .form-group table input,
.form-group table select {
	border: none;
	width: 100%;
} */
table .short-input {
	width: 80%;
}

.form-control {
	height: 34px;
	padding: 4px 6px;
}
.form-group table .opt,
.panel-body table .opt {
	cursor: pointer;
	color: #38f;
	margin-right: 15px;
}
.modal table tbody label {
	display: block;
	margin: 0;
	width: 100%;
	height: 100%;
}
.form-radio {
	float: left;
	margin-right: 20px;
}

.end_cycle_item,
.clause_account_item {
	margin-bottom: 20px;
	position: relative;
}

.input_item {
	margin-bottom: 10px;
	position: relative;
}
.input_item .form-control-feedback {
	right: 20%;
}
.input_item input {
	width: 80%;
	display: inline-block;
	margin-right: 5px;
}
.input_item .opt {
	color: #38f;
	cursor: pointer;
}
/*模态框*/
.modal-footer .btn {
	display: inline-block;
	padding: 4px 6px;
}

.input-group-btn button {
	padding: 4px 6px;
}
.table-container nav {
	text-align: right;
}
.relative {
	position: relative;
}

td .form-control-feedback {
	line-height: 20px;
	right: 0;
	height: 100%;
	width: 20px;
}
.file-item a {
	margin-left: 8px;
}
.modal-body .table-container {
	margin: 15px 0 0;
	max-height: 300px;
	overflow-y: auto;
}
.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.7);
	display: none
}

.loading .tip {
	width: 100px;
	height: 100px;
	position: relative;
	margin-left: -50px;
	left: 50%;
	top: 300px;


}
.file-item {
	line-height: 34px;
}

.file-item .fileName {
	display: inline-block;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}

.file-item .icon {
	position: relative;
	top: -2px;
	right: 2px;
}
.preview-img {
	width: 300px;
	max-height: 400px;
	display: block;
	margin: 0 auto;
}

/*14 * n  +  10 + 10 + 2*/

.col-1 {
    width: 36px;
}
.col-2 {
    width: 50px;
}
.col-3 {
    width: 64px;
}
.col-4 {
    width: 78px;
}
.col-5 {
    width: 92px;
}
.col-6 {
    width: 106px;
}
.col-7 {
    width: 120px;
}
.col-8 {
    width: 134px;
}
.col-9 {
    width: 148px;
}
.col-10 {
    width: 162px;
}
.col-11 {
    width: 176px;
}

.col-12 {
    width: 188px;
}

.col-15 {
    width: 232px;
}
.col-20 {
    width: 302px;
}

th, td{
    line-height: 27px !important;
    /*高度32*/
    height: 27px;
    font-size:14px;
    /*padding:2px 10px !important;*/
    /*overflow: hidden;*/
    text-overflow: ellipsis;
    white-space:nowrap;
}
.one-line {
	 overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
}
td input {
	/*display: block;*/
}

/***上传图片***/
.add-img {
	position: relative;
	width: 60px; 
	float: left;
	height: 60px;
	text-align: center;
	line-height: 60px;
	border: 1px solid #ddd;
	color: #38f;
	cursor: pointer;
}

.add-img input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.upload-img-item {
	position: relative;
	float: left;
	height: 60px;
	margin-right: 20px;
	border: 1px solid #ddd;
}
.upload-img-item img {
	height: 100%;
}

.upload-img-item .del-img {
	position: absolute;
	top: -9px;
	right: -9px;
	width: 18px; 
	height: 18px;
	text-align: center;
	line-height: 18px;
	color: #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, .2);
	cursor: default;
	display: none;
}
.upload-img-item:hover .del-img {
	display: block;
}

.upload-img-item .del-img:hover {
	background: rgba(0, 0, 0, .5);
}

.search_cont[readonly],
.search-cont[readonly] {
	background: #fff;
} 
.page-info {
	position: absolute;
	left: 15px;
	top: 0;
}

.picker-time {
    z-index: 10;
    position: fixed;
    display: inline-block;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #bbb;
}
.picker-time .time {
    margin-bottom: 15px;
}

.picker-time .picker-opts {
    text-align: right;
}

#picker-opt-confirm,
#picker-opt-cancel {
    display: inline-block;
    background: buttonface;
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 2px;
    margin-right: 10px;
}
.picker-time select {
    width: 50px;
    display: inline-block;
    padding: 0;
    float: none;
}

input[readonly] {
    background: #fff!important;
}

@media (min-width: 768px) {
	.modal-dialog {
		width: 700px;
	}
}

.hw-data-table { 
	position: relative;  
	padding-left: 15px;
	width: auto; 
	height: calc(100vh - 50px); 
	padding-top: 10px; 
}

.hw-data-table thead {
	/*background: */
	font-weight: bold;
}
.hw-data-table thead td {
	font-weight: bold;
}
.hw-data-table .opt.glyphicon {
	border: 1px solid #ddd;
    padding: 4px;
    color: #333;
}

.hw-data-table .opt.glyphicon + .num {
	display: inline-block;
	min-width: 50px;
	text-align: center;
}
.hw-data-table .table-div {
	width: 100%;
	padding-right: 15px; 
	max-height: calc(100vh - 130px);
	/*margin-bottom: 80px;*/
	overflow-x: auto; 
}

.table-div table label { margin-bottom: 0; }
 
.hw-data-table .table-top-opt {
	position: fixed; 
	width: 100%; 
	top: 30px; 
	left: 0; 
	height: 50px; 
	padding: 15px;
}
.hw-data-table .nav-route { 
	position: absolute; 
	right: 0; 
	/*bottom: 0; */
	width: 100%; 
	background: #fff; 
	z-index: 10;
}
.hw-data-table table { margin-bottom: 10px; }
.hw-data-table .nav-route .page-route { width: 140px; display: inline-block; margin-left: -4px;} 
.hw-data-table .nav-route .nav-page { width: 70px; height: 34px; display: inline-block; margin: 0}
.hw-data-table .nav-page-btn { width: 60px; }
.hw-data-table .data-summary { margin: 10px 0; height: 35px; line-height: 35px }
.hw-data-table .pagination { margin: 10px 0 }

#upload-form {
	display: block!important;
	position: fixed;
	left: -100000px;
	top: -1000000px;

}

.filter-condition {
	position: relative;
	margin-right: 15px;
	margin-bottom: 15px;
	padding: 0 15px;
	/*border: 1px solid #efefef;*/
}

/*.filter-condition .toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	padding: 4px 8px;
	color: blue;
	cursor: pointer;
}*/

.filter-condition .condition {
	margin-bottom: 15px;
}

.filter-condition .condition label {
	font-weight: normal;
	padding-top: 7px;
	text-align: right;
}
.filter-condition .condition .input-wrap {
	width: 200px;
	margin-right: 30px;
}
.form-horizontal .filter-condition .radio,
.form-horizontal .filter-condition .checkbox {
	padding-top: 0;
}

.filter-condition .btn {
	padding: 4px 12px;
}

.link-btn-wrap {
	margin-bottom: 20px;
}

.search-form-wrap { 
	border: 1px solid #E5E5E5;
	margin-bottom: 20px;
}

.search-form-wrap .control-label {
	text-align: right;
	padding-top: 7px;
}

.main-table-wrap { padding: 0px; display: inline-block; width: auto; max-width: 100%; min-height: 200px;  }
.main-table-wrap > * {
	display: block; height: 100%;
}
.main-table-content { position: relative; width: auto; max-width: 100%; height: 100%; }
/*.main-table { overflow: auto; width: 100%; height: 100%; }*/
.main-table-content table { table-layout: fixed; border-collapse: separate;font-size: 14px;  width: 150px; border-top: 1px solid #efefef;border-left: 1px solid #efefef; } 
.main-table-content table tr td, 
.main-table-content table tr th { text-align: left; padding: 12px 10px; box-sizing: border-box; text-overflow: ellipsis; vertical-align: middle; border-right: 1px solid #efefef;}
.main-table-content table tr td { border-bottom: 1px solid #e6ebf5;}
.main-table-content table tr td label, 
.main-table-content table tr th label {line-height: 23px; display: block; margin-bottom: 0; }
.main-table-content table tr td, 
.main-table-content table tr th { line-height: 23px!important; }
.main-table-content table th { padding: 12px 0; }
.main-table-content .main-table-thead { overflow: hidden; }
.main-table-content .main-table-tbody { overflow-x: auto; overflow-y: auto; max-height: 100%; }
.main-table-content .fixed-table { position: absolute; top: 0px; width: 150px; height: 100%; overflow: hidden; background: #fff; }
.main-table-content .fixed-left { left: 0px; }
.main-table-content .fixed-left.box-shadow { box-shadow: 4px 0 2px #F1F1F1; }
.main-table-content .fixed-right { right: 17px; }
.main-table-content .fixed-right.box-shadow { box-shadow: -4px 0 4px #F1F1F1; }
.main-table-content .fixed-table-content { position: absolute; top: 0; }
.fixed-left .fixed-table-content { left: 0; }
.fixed-right .fixed-table-content { right: 0; }
.main-table-content .fixed-tbody { top: 48px; overflow: hidden; }
.main-table-content .fixed-table-content table { width: 150px; }

.table-header {	background: rgba(235, 242, 255, 1); overflow: hidden; line-height: 50px; }
.table-header .name { font-weight: bold; }
.table-header .btn { background: transparent; color: blue; margin-left: 20px; }
.table-header .save { margin-left: 0; border-left: 1px solid #ddd; }
.table-header .btn:focus, 
.table-header .btn:active:focus, 
.table-header .btn.active:focus { outline: none; box-shadow: none; }
.input-table tbody td input { border: 1px solid #efefef; outline: none; width: 100%; }
.input-table tbody td input[readonly] { background: transparent; border: none; }


table .goods-img {
	width: 60px;
	height: 60px;
	transition: all .3s ease-in; 
	margin-right: 10px;
}
table .goods-img:hover {
	width: 100px;
	height: 100px;
}

.hw-data-table .table-top-opt {
	position: fixed; 
	width: 100%; 
	top: 30px; 
	left: 0; 
	height: 50px; 
	padding: 15px;
}
.table-nav-route.nav-route { 
	position: absolute; 
	right: 0; 
	/*bottom: 0; */
	width: 100%; 
	background: #fff; 
	z-index: 10; 
}
.table-div table { width: 100%; }
.table-div table tr th,
.table-div table tr td { border-bottom: 1px solid #e6ebf5;} 
.table-div table tr th select { border: none; outline: none; }
.table-nav-route.nav-route .data-summary { line-height: 74px; }
.table-div { position: relative; padding-bottom: 74px; } 
.table-nav-route.nav-route .page-route { width: 140px; display: inline-block; margin-left: -4px;} 
.table-nav-route.nav-route .nav-page { width: 70px; display: inline-block; margin: 0}
.table-nav-route.nav-page-btn { width: 60px; }
.table-nav-route.data-summary { margin: 10px 0; height: 35px; line-height: 35px }
.table-nav-route.pagination { margin: 10px 0 }
.datetimepicker { margin-top: 0!important; }

table .red{
	color: #d43f3a;
}
.auto-table-wrap {
	max-width: 100%; 
	overflow-x: auto;
	padding-bottom: 20px;
}

.auto-table-wrap table {
	width: auto;
	min-width: 100%;
}
.input-group-addon {
	background: #2494EC;
    color: #fff;
    border-color: #2494EC;
}
